package com.ly.heart.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ly.common.core.domain.ActCurrentTaskVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@ApiModel(value="其他入库单返回Vo")
@JsonInclude(JsonInclude.Include.ALWAYS)
@Accessors(chain = true)
public class OtherInboundVo {

    @ApiModelProperty ("其他入库单id")
    private String id;

    @ApiModelProperty ("单据编号")
    private String docCode;

    @ApiModelProperty ("库存方向(普通；退货)")
    private String inventoryDirection;

    @ApiModelProperty ("供应商id")
    private String supplierId;

    @ApiModelProperty ("供应商编码")
    private String supplierCode;

    @ApiModelProperty ("供应商名称")
    private String supplierName;

    @ApiModelProperty ("日期")
    @JsonFormat (pattern = "yyyy-MM-dd")
    private Date inventoryTime;

    @ApiModelProperty ("物料明细Id")
    private String materialDetailId;

    @ApiModelProperty ("物料Id")
    private String materialId;

    @ApiModelProperty ("物料编码")
    private String materialCode;

    @ApiModelProperty ("物料名称")
    private String materialName;

    @ApiModelProperty ( "规格型号" )
    private String model;

    @ApiModelProperty ("单位")
    private String unit;

    @ApiModelProperty ("实收数量")
    private String receiptsNum;

    @ApiModelProperty ("批号")
    private String batchNum;

    @ApiModelProperty ("行号")
    private String lineNumber;

    @ApiModelProperty ("收货仓库id")
    private String receiveWarehouseId;

    @ApiModelProperty ("收货仓库编码")
    private String receiveWarehouseCode;

    @ApiModelProperty ("收货仓库名称")
    private String receiveWarehouseName;

    @ApiModelProperty ("仓位")
    private String warehousePosition;

    @ApiModelProperty ("创建人")
    private String createBy;

    @ApiModelProperty ("创建时间")
    @JsonFormat ( pattern = "yyyy-MM-dd" )
    private Date createTime;

    @ApiModelProperty ("状态")
    private String state;

    @ApiModelProperty ("状态名称")
    private String stateName;

    @ApiModelProperty ( "流程实例id" )
    private String instanceId;

    @ApiModelProperty ( "当下审批人" )
    private String approvedUser;

    @ApiModelProperty ( "审批内容" )
    private String remark;

    @ApiModelProperty ( "当前任务信息" )
    private ActCurrentTaskVo currentTask;

}
